package com.ems.service.system;

import com.ems.pojo.system.SysNotice;

import java.util.List;
import java.util.Map;

/**
 * @Auther: 伟伟
 * @Date: 2020/1/2
 * @Description: 描述
 * @Version: 1.0
 */
public interface NoticeService {
    //添加通知消息
    public void addNotice(SysNotice sysNotice);

    //根据id删除通知信息
    public void deleteNotice(List<SysNotice> list);

    public void updateNoticeById(SysNotice sysNotice);

    //条件查询通知信息
    public List<SysNotice> findNoticeByPage(Map<String,Object> map);

    //根据现在时间查询要通知的信息
    public List<SysNotice> queryNoticeNowTime();

    public void deleteUnStartNotice();

    public void deleteStretedNotice();
}
